squares = [value for value in range(1, 1000001)]
print(min(squares))
print(max(squares))
print(sum(squares))